package com.api.user.model;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "commodity_category")
public class CommodityCategory implements Serializable {
    @Id
    @Column(name = "commodity_category_id")
    private Long commodityCategoryId;

    /**
     * 商品分类名称
     */
    @Column(name = "category_name")
    private String categoryName;

    /**
     * 是否展示
     */
    @Column(name = "is_show")
    private Boolean isShow;

    /**
     * 排序
     */
    private Integer sort;

    private static final long serialVersionUID = 1L;

    /**
     * @return commodity_category_id
     */
    public Long getCommodityCategoryId() {
        return commodityCategoryId;
    }

    /**
     * @param commodityCategoryId
     */
    public void setCommodityCategoryId(Long commodityCategoryId) {
        this.commodityCategoryId = commodityCategoryId;
    }

    /**
     * 获取商品分类名称
     *
     * @return category_name - 商品分类名称
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置商品分类名称
     *
     * @param categoryName 商品分类名称
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取是否展示
     *
     * @return is_show - 是否展示
     */
    public Boolean getIsShow() {
        return isShow;
    }

    /**
     * 设置是否展示
     *
     * @param isShow 是否展示
     */
    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    /**
     * 获取排序
     *
     * @return sort - 排序
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * 设置排序
     *
     * @param sort 排序
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }
}